package com.payment.entity.common;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.sql.Timestamp;

/***
 * 用户套餐订单实体：user_order_package_t
 */
@Data
public class UserOrderPackage implements Serializable {

    private String partnerCode;

    private String partnerName;

    private String packageCode;

    private String packageName;

    private String packageType;

    private String buyType;

    private String priceType;

    private String salesType;

    private String deviceNo;

    private String deviceCode;

    private String iccId;

    private String partnerScope;

    private String orderPeriod;

    private String globalOrder;

    private String requestOrderId;

    private String payId;

    private String payAmount;

    private String payCurrency;

    private String payType;

    //收款账户：2-B端客户；1-领科账户

    private String payAccount;

    private String payRst;

    private String orderNo;

    private String tempOrderId;

    private String orderId;

    private String isNotify;

    private String isPartnerNotity;

    private String isRenew;

    //是否立即开通默认都是先不立即开通：0-不开通；1-立即开通

    private String isOpen;

    //套餐费用

    private String packageFee;
    //快递费用

    private String expressFee;
    //卡制作费用

    private String cardFee;

    //支付方的支付流水号，唯一

    private String transactionId;

    //订单类型：1-退货；2-取消订单；3-已完成

    private String orderType;

    //订单的状态：1-待发货；2-未收货；3-待确认；4-已完成；（当前是订单的状态）

    private String orderStatus;

    private String packageStatus;

    private Timestamp createDate;

    private String updateDate;

    private String orderTime;

    private String orderStartDate;

    private String orderExpireDate;

    /**
     * 支付状态：未支付前是null，支付成功是1，退款是2
     */
    private String payStatus;

    /**
     * 支付结果到达服务器的时间
     */
    private String payResultDate;

    /**
     * 异步订购套餐回调结果到达服务器的时间
     */
    private String orderResultDate;

    /**
     * 用来记：实际USD结算金额,如果支付时就是usd，此时payAmount=settlePrice；如果支付的是cny，那么settlePrice=payAmount/7,取2位小数
     */
    private String settlePrice;
}
